class Message {
  constructor (id, value, message, messageCn) {
    this.id = id
    this.value = value
    this.message = message
    this.messageCn = messageCn
  }
}

exports.userNoFound = new Message(100, false, 'user is not found', '用户不存在')
exports.userFound = new Message(101, true, 'user is found', '用户已经存在')
exports.emailIsExisted = new Message(101, true, 'email is existed', '该邮箱已经注册过')
exports.noFound = new Message(201, false, 'content is not found', '信息不存在')
exports.success = new Message(200, true, 'is done', '修改成功')

module.export = { Message }
